<template>
  <div>
    <h1>嵌套路由</h1>
    <router-link to="/myindex">主页</router-link> &emsp;
    <router-link to="/mynews">新闻</router-link> &emsp;
    <router-link to="/mysports">体育</router-link> &emsp;
    <hr />
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "App",
  components: {},
  props: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  methods: {},
};
</script>

<style scoped></style>
